package com.tx.service;

import com.alibaba.fastjson.JSONObject;
import com.tx.model.InMessage;
import redis.clients.jedis.Jedis;

/**
 * @description:
 * @author: bluewelkin
 * * @create: 2019-11-07 20:12
 **/
public class Qumessage {

    String objKey;

    public void getobjkey(String objKey){
        this.objKey = objKey;
    }




 //   String objKey = "book:binance:spot:ada_btc";

   Jedis  jedis = new Jedis("127.0.0.1",6379);

    public String message(){
            return  jedis.get(objKey);
        }
}
